﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
//using System.ComponentModel.DataAnnotations.Schema;

namespace CodeCamp.Model
{
    //[Table("cc_SpeakerRateTalks")]
    public class SpeakerRateTalk
    {
        //[Key]
        //[DatabaseGenerated(System.ComponentModel.DataAnnotations.Schema.DatabaseGeneratedOption.Identity)]
        public int Id { get; set; }

        //[ForeignKey("Session")]
        public int SessionId { get; set; }

        [Required]
        public virtual Session Session { get; set; }

        [MaxLength(256)]
        public string TalkUrl { get; set; }

    }
}
